// Personne.cpp
#include "Personne.h"
using namespace std;



string Personne::GetNom() const
{	
	return _nom;
}

string Personne::GetPrenom() const
{
	return _prenom;
}

unsigned int Personne::GetAge() const
{	
	return _age;
}

void Personne::Set(const string & N,const string & P, unsigned int A)
{
	_nom=N;
	_prenom=P;
	_age=A;	
}

void Personne::Affiche(std::ostream &f) const
{
	f << "Nom: " << _nom <<"\t";
	f << "Prenom: " << _prenom << "\t";
	f << _age << "ans";
}

